<template>
    <div style="padding-top: 20px">
        <el-row :gutter="20">
            <el-col :span="5"><div class="grid-content"></div></el-col>
            <el-col :span="14">
                <div class="grid-content bg-purple">
                    <el-card>
                        <div v-for="item in song" :key="item" class="text item">
                            <div>
                                <span>{{item.title}}</span>
                            </div>
                            <br>
                            <div>
                                <iframe width="450px" height="300px" v-bind:src="item.link" frameborder=0 allowfullscreen></iframe>
                            </div>
                            <br><br><br>
                        </div>
                    </el-card>
                </div>
            </el-col>
            <el-col :span="5"><div class="grid-content"></div></el-col>
        </el-row>
    </div>
</template>

<script>
    export default {
        name: "EveryDayViewing",
        data(){
            return{
                song:[
                    {
                        title:'许巍的一首《故乡》让人潸然泪下,谁不是永远向着远方的浪子呢？',
                        link:'http://player.youku.com/embed/XMzQwMjY0Nzc0OA',
                    },
                    {
                      title:'朴树《平凡之路》,愿你走出半生,归来任是少年',
                      link:'http://player.youku.com/embed/XNDQ2MjUxNDU5Mg',
                    },
                    {
                        title:'泰勒斯威夫特,神一样的女人',
                        link:'http://player.youku.com/embed/XMzgwMzE4NjYxNg',
                    },
                ]
            }
        }
    }
</script>

<style scoped>

</style>